package top.wugy.blog.searcher;

import com.jfinal.plugin.activerecord.Page;
import com.jfinal.plugin.activerecord.Record;

/**
 * wugy on 2017/11/15 10:08
 */
public interface ISearcher {

    Page<Record> search(int pageNum, int pageSize, String keyword);

    void reloadIndex();

    void addRecord(SearcherBean bean);

    void updateRecord(SearcherBean bean);
}
